//输入小时和分钟，将值传入void函数中，显示时间

#include<iostream>

void ShowTime(int a,int b);

int main()
{
	int hour, minute;
	std::cout << "Enter the number of hours: ";
	std::cin >> hour;
	std::cout << "Enter the number of minutes: ";
	std::cin >> minute;
	ShowTime(hour, minute);
	return 0;
}

void ShowTime(int a, int b)
{
	std::cout << "Time: " << a << ":" << b << std::endl;
}